CFLAGS:= -I/home/linux/arm/include -L/home/linux/arm/lib -lortp -lasound -lpthread -D_FILE_OFFSET_BITS=64
X86_CFLAGS:= -I/home/linux/x86/include -L/home/linux/x86/lib -lortp
LDflAGS:=-L/work/08.install/x86/lib

all:arm_aplay rtprecv rtpsend x86_rtpsend
target=arm_aplay rtprecv rtpsend x86_rtpsend

rtprecv:rtprecv.c
	arm-linux-gcc $(CFLAGS) $< -o $@
rtpsend:rtpsend.c
	arm-linux-gcc $(CFLAGS) $< -o $@
arm_aplay:aplay.c
	arm-linux-gcc $(CFLAGS) $< -o $@
x86_rtpsend:rtpsend.c
	gcc  $< -o $@ $(X86_CFLAGS)
.PHONY:
clean:
	-rm $(target) *~
